#####Persia Major Events#####
#		By          #
# Joakim 'Greven' Bergqwist #
#			    #
# 		and	    #
#			    #
# Henrik 'Doomdark' Fhraeus #
##############################

#The Reforms of Ismail#
event = {
	id = 3559
	random = no
	country = PER
	name = "EVENTNAME3559"
	desc = "EVENTHIST3559"
	style = 2
	
	date = { day = 1 month = january year = 1512 }
	offset = 3649
	
	action_a ={ # Reform trade and infrastructure
		name = "ACTIONNAME3559A"
		command = { type = infra value = 600 }
		command = { type = trade value = 600 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = provincetax which = -2 value = 3 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
	}
	action_b ={ # Reform the army
		name = "ACTIONNAME3559B"
		command = { type = land value = 2000 }
		command = { type = manpower value = 20 }
	}
	action_c ={ # Fortify the realm.
		name = "ACTIONNAME3559C"
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
		command = { type = fortress which = -1 value = 1 } # Random province
	}
}

#The Turko-Persian Conflicts: Shiite rebels.#
event = {
	id = 3560
	trigger = {
		exists = TUR
	}
	random = no
	country = PER
	name = "EVENTNAME3560"
	desc = "EVENTHIST3560"
	style = 2
	
	date = { day = 1 month = may year = 1512 }
	offset = 700
	
	action_a ={	# Support the Turkish Shiites.
		name = "ACTIONNAME3560A"
		command = { type = trigger which = 3360 }
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
		command = { type = land value = 200 }
		command = { type = casusbelli which = TUR value = 120 }
	}
	action_b ={ # Ignore them.
		name = "ACTIONNAME3560B"
		command = { type = stability value = -1 }
	}
	action_c ={ # Betray the Turkish rebels.
		name = "ACTIONNAME3560C"
		command = { type = relation which = TUR value = 150 }
		command = { type = stability value = -2 }
	}
}

#The Turko-Persian Conflicts: Prince Beyazid flees to Persia.#
event = {
	id = 3561
	random = no
	country = PER
	name = "EVENTNAME3561"
	desc = "EVENTHIST3561"
	style = 2

# Triggered by Turkish event 3361

	action_a ={ # Deliver Prince Beyazid to the Turks.
		name = "ACTIONNAME3561A"
		command = { type = treasury value = 200 }
		command = { type = DIP which = 8 value = 24 }
	}
	action_b ={ # Refuse to hand him over.
		name = "ACTIONNAME3561B"
		command = { type = relation which = TUR value = -100 }
		command = { type = stability value = 1 }
	}
	action_c ={ # Actively support Beyazid's claim.
		name = "ACTIONNAME3561C"
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 200 }
	}
}

#The Turko-Persian Conflicts: Murad III's campaigns against Persia.#
event = {

	id = 3562
	random = no
	country = PER
	name = "EVENTNAME3562"
	desc = "EVENTHIST3562"
	style = 2

# Triggered by Turkish event 3362

	action_a ={ # Teach the Sultan a lesson!
		name = "ACTIONNAME3562A"
		command = { type = war which = TUR }
		command = { type = land value = 200 }
		command = { type = stability value = 1 }
	}
	action_b ={ # Ignore the Turkish threats.
		name = "ACTIONNAME3562B"
		command = { type = casusbelli which = TUR value = 60 }
		command = { type = stability value = -1 }
	}
	action_c ={ # Seek diplomatic solution.
		name = "ACTIONNAME3562C"
		command = { type = DIP which = 8 value = 24 }
		command = { type = relation which = TUR value = 50 }
	}
}

#The Turko-Persian Conflicts: Persians take advantage of Ottoman instability.#
event = {
	id = 3563
	trigger = {
		exists = TUR
	}
	random = no
	country = PER
	name = "EVENTNAME3563"
	desc = "EVENTHIST3563"
	style = 3
	
	date = { day = 1 month = december year = 1603 }
	offset = 29

	action_a ={ # Support the Turkish rebels and prepare for war.
		name = "ACTIONNAME3563A"
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = relation which = TUR value = -200 }
		command = { type = land value = 200 }
		command = { type = trigger which = 3363 }
	}
	action_b ={ # Concentrate on internal issues.
		name = "ACTIONNAME3563B"
		command = { type = infra value = 300 }
		command = { type = stability value = 1 }
	}
}

#The Reforms of Abbas the Great#
event = {
	id = 3564
	random = no
	country = PER
	name = "EVENTNAME3564"
	desc = "EVENTHIST3564"
	style = 2
	
	date = { day = 1 month = december year = 1597 }
	offset = 720

	action_a ={ # Move the Capital to Isfahan
		name = "ACTIONNAME3564A"
		command = { type = capital which = 533 }
		command = { type = population which = 533 value = 40000 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = -2 value = 3 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = stability value = -2 }
	}
	action_b ={ # Retain the old capital
		name = "ACTIONNAME3564B"
		command = { type = infra value = 1000 }
		command = { type = trade value = 1000 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
		command = { type = provincetax which = -2 value = 3 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = stability value = 2 }
	}
}

#The Advisors of Abbas the Great#
event = {
	id = 3565
	random = no
	country = PER
	name = "EVENTNAME3565"
	desc = "EVENTHIST3565"
	style = 3
	
	date = { day = 1 month = december year = 1597 }
	offset = 720

	action_a ={ # Hire the English advisors
		name = "ACTIONNAME3565A"
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = stability value = -1 }
		command = { type = land value = 1000 }
		command = { type = naval value = 1000 }
	}
	action_b ={ # Rely on domestic ones
		name = "ACTIONNAME3565B"
		command = { type = stability value = 2 }
	}
}

#Political Turmoil#
event = {
	id = 3566
	random = no
	country = PER
	name = "EVENTNAME3566"
	desc = "EVENTHIST3566"
	style = 3

	date = { day = 1 month = december year = 1582 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3566A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3566B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3567
	random = no
	country = PER
	name = "EVENTNAME3567"
	desc = "EVENTHIST3567"
	style = 3

	date = { day = 1 month = december year = 1640 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3567A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3567B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {

	id = 3568
	random = no
	country = PER
	name = "EVENTNAME3568"
	desc = "EVENTHIST3568"
	style = 3
	
	date = { day = 1 month = december year = 1665 }
	offset = 720
	
	action_a ={
		name = "ACTIONNAME3568A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3568B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {

	id = 3569
	random = no
	country = PER
	name = "EVENTNAME3569"
	desc = "EVENTHIST3569"
	style = 3
	
	date = { day = 1 month = december year = 1690 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3569A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3569B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3570
	random = no
	country = PER
	name = "EVENTNAME3570"
	desc = "EVENTHIST3570"
	style = 4
	
	date = { day = 1 month = december year = 1715 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3570A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3570B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3571
	random = no
	country = PER
	name = "EVENTNAME3571"
	desc = "EVENTHIST3571"
	style = 4
	
	date = { day = 1 month = december year = 1740 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3571A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}

	action_b ={
		name = "ACTIONNAME3571B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3572
	random = no
	country = PER
	name = "EVENTNAME3572"
	desc = "EVENTHIST3572"
	style = 4
	
	date = { day = 1 month = december year = 1765 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3572A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3572B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Turmoil#
event = {
	id = 3573
	random = no
	country = PER
	name = "EVENTNAME3573"
	desc = "EVENTHIST3573"
	style = 4
	
	date = { day = 1 month = december year = 1790 }
	offset = 720

	action_a ={
		name = "ACTIONNAME3573A"	#Let the Clans fight#
		command = { type = revoltrisk which = 48 value = 5 }
		command = { type = stability value = -2 }
	}
	action_b ={
		name = "ACTIONNAME3573B"	#Buy the loyalty of the Clans#
		command = { type = treasury value = -500 }
	}
}

#Political Fragmentation#
event = {
	id = 3574
	random = no
	country = PER
	name = "EVENTNAME3574"
	desc = "EVENTHIST3574"
	style = 3
	
	date = { day = 1 month = december year = 1635 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3574A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3574B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3575
	random = no
	country = PER
	name = "EVENTNAME3575"
	desc = "EVENTHIST3575"
	style = 3
	
	date = { day = 1 month = december year = 1655 }
	offset = 720
	
	action_a ={ # Tighten state control
		name = "ACTIONNAME3575A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b ={ # Let the factions conspire
		name = "ACTIONNAME3575B"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
}

#Political Fragmentation#
event = {
	id = 3576
	random = no
	country = PER
	name = "EVENTNAME3576"
	desc = "EVENTHIST3576"
	style = 3
	
	date = { day = 1 month = december year = 1675 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3576A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3576B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3577
	random = no
	country = PER
	name = "EVENTNAME3577"
	desc = "EVENTHIST3577"
	style = 3
	
	date = { day = 1 month = december year = 1695 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3577A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3577B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3578
	random = no
	country = PER
	name = "EVENTNAME3578"
	desc = "EVENTHIST3578"
	style = 4

	date = { day = 1 month = december year = 1715 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3578A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3578B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3579
	random = no
	country = PER
	name = "EVENTNAME3579"
	desc = "EVENTHIST3579"
	style = 4
	
	date = { day = 1 month = december year = 1735 }
	offset = 720

	action_a ={ # Tighten state control
		name = "ACTIONNAME3579A"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
	action_b ={ # Let the factions conspire
		name = "ACTIONNAME3579B"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
}

#Political Fragmentation#
event = {
	id = 3580
	random = no
	country = PER
	name = "EVENTNAME3580"
	desc = "EVENTHIST3580"
	style = 4
	
	date = { day = 1 month = december year = 1755 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3580A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3580B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Political Fragmentation#
event = {
	id = 3581
	random = no
	country = PER
	name = "EVENTNAME3581"
	desc = "EVENTHIST3581"
	style = 4
	
	date = { day = 1 month = december year = 1780 }
	offset = 720

	action_a ={ # Let the factions conspire
		name = "ACTIONNAME3581A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = ADM which = -2 value = 48 }
		command = { type = DIP which = -2 value = 48 }
		command = { type = MIL which = -2 value = 48 }
		command = { type = provincetax which = -1 value = -2 }
	}
	action_b ={ # Tighten state control
		name = "ACTIONNAME3581B"
		command = { type = stability value = -3 }
		command = { type = revoltrisk which = 48 value = 4 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = ADM which = 1 value = 48 }
		command = { type = DIP which = 1 value = 48 }
		command = { type = MIL which = 1 value = 48 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#The Afghan Rebellions#
event = {
	id = 6907
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
		}
		NOT = {
			exists = AFG
		}
	}
	
	random = no
	country = PER
	name = "EVENTNAME6907"
	desc = "EVENTHIST6907"
	style = 5
	
	date = { day = 1 month = january year = 1707 }
	offset = 100
	deathdate = { day = 1 month = january year = 1708 }
	
	action_a = {     #Curses!#
		name = "ACTIONNAME6907A"
		command = { type = province_revoltrisk which = 1524 value = 5 }
		command = { type = province_revoltrisk which = 1525 value = 5 }
		command = { type = province_revoltrisk which = 1527 value = 5 }
		command = { type = province_revoltrisk which = 1528 value = 5 }
	}
}

#The Afghan Rebellions End#
event = {
	id = 6908
	trigger = {          
		OR = {  
			owned = { province = 1524 data = -1 }
			owned = { province = 1525 data = -1 }
			owned = { province = 1527 data = -1 }
			owned = { province = 1528 data = -1 }
		}
	}
	
	random = no
	country = PER
	name = "EVENTNAME6908"
	desc = "EVENTHIST6908"
	style = 5
	
	date = { day = 1 month = january year = 1730 }
	offset = 100
	deathdate = { day = 1 month = january year = 1731 }
	
	action_a = {     #Great!#
		name = "ACTIONNAME6908A"
		command = { type = province_revoltrisk which = 1524 value = -5 }
		command = { type = province_revoltrisk which = 1525 value = -5 }
		command = { type = province_revoltrisk which = 1527 value = -5 }
		command = { type = province_revoltrisk which = 1528 value = -5 }
	}
}